using System;

namespace ICSharpCode.TextEditor.Document
{
	public class LineEventArgs : EventArgs
	{
		private IDocument document;

		private LineSegment lineSegment;

		public IDocument Document => this.document;

		public LineSegment LineSegment => this.lineSegment;

		public LineEventArgs(IDocument document, LineSegment lineSegment)
		{
			this.document = document;
			this.lineSegment = lineSegment;
		}

		public override string ToString()
		{
			return $"[LineEventArgs Document={this.document} LineSegment={this.lineSegment}]";
		}
	}
}
